<?php

namespace IDock\Insurance\ACIC\Request\NonCar;

use IDock\Insurance\ACIC\Request\AllACICRequest;
use IDock\Insurance\ACIC\Response\NonCar\NonCarInquiryNoPreBuildResponse;

class NonCarInquiryNoPreBuildRequest extends AllACICRequest
{
    protected $code = 'A008';

    protected $response = NonCarInquiryNoPreBuildResponse::class;

    protected $urlTip = '投保单号预生成接口';

    public $noCarApi = true;

    public $deptCode = '';

    public function generate(): array
    {
        return [
            'ProductItem' => [
                'Id' => sha1(uniqid()),
                'ProductId' => '0676',
                'DeptCode' => $this->deptCode,
            ]
        ];
    }
}
